/**
 * Witontek.com.
 * Copyright (c) 2012-2016 All Rights Reserved.
 */
package test.thread.callable;

import java.util.concurrent.Callable;

/**
 * 
 * @author Long
 * @version $Id: MyCallable.java, v 0.1 2016年10月31日 下午2:53:27  xiaolong.ma  Exp $
 */
public class MyCallable implements Callable {
    private String oid;

    MyCallable(String oid) {
        this.oid = oid;
    }

    /** 
     * @see java.util.concurrent.Callable#call()
     */
    public Object call() throws Exception {
        System.out.println(oid + " is start....");
        Thread.sleep(3000);
        return oid + "任务返回的内容";
    }

}
